\hypertarget{class_yig_ellipse_item}{
\section{YigEllipseItem Class Reference}
\label{class_yig_ellipse_item}\index{YigEllipseItem@{YigEllipseItem}}
}


{\ttfamily \#include $<$yigellipseitem.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_yig_ellipse_item_a2ad95af430a2d822840cfc89bb9894ae}{
{\bfseries YigEllipseItem} (\hyperlink{class_yig_synth_graphic}{YigSynthGraphic} $\ast$synthGraphic, qreal x=0, qreal y=0, qreal width=0, qreal height=0, QGraphicsItem $\ast$parent=0)}
\label{class_yig_ellipse_item_a2ad95af430a2d822840cfc89bb9894ae}

\item 
\hypertarget{class_yig_ellipse_item_ade078069d0f569649fd2b73e93c9ded2}{
void {\bfseries setPos} (qreal x, qreal y)}
\label{class_yig_ellipse_item_ade078069d0f569649fd2b73e93c9ded2}

\item 
\hypertarget{class_yig_ellipse_item_ac7f8a6313e4216ea443d1c06cb82203c}{
void {\bfseries setPos} (const QPointF \&pos)}
\label{class_yig_ellipse_item_ac7f8a6313e4216ea443d1c06cb82203c}

\item 
\hypertarget{class_yig_ellipse_item_a2127ceff92ef3188c13abc4d6e631545}{
void {\bfseries moveBy} (qreal dx, qreal dy)}
\label{class_yig_ellipse_item_a2127ceff92ef3188c13abc4d6e631545}

\item 
\hypertarget{class_yig_ellipse_item_a7a73500204ef8883aff5652457dda7b6}{
void {\bfseries setSyncedBrush} (const QBrush \&brush)}
\label{class_yig_ellipse_item_a7a73500204ef8883aff5652457dda7b6}

\item 
\hyperlink{class_yig_ellipse_item_a2ad95af430a2d822840cfc89bb9894ae}{YigEllipseItem} (\hyperlink{class_yig_synth_graphic}{YigSynthGraphic} $\ast$synthGraphic, qreal x=0, qreal y=0, qreal width=0, qreal height=0, QGraphicsItem $\ast$parent=0)
\item 
void \hyperlink{class_yig_ellipse_item_ade078069d0f569649fd2b73e93c9ded2}{setPos} (qreal x, qreal y)
\item 
void \hyperlink{class_yig_ellipse_item_ac7f8a6313e4216ea443d1c06cb82203c}{setPos} (const QPointF \&pos)
\item 
void \hyperlink{class_yig_ellipse_item_a2127ceff92ef3188c13abc4d6e631545}{moveBy} (qreal dx, qreal dy)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_yig_ellipse_item_a9395bbc225d75ecefc47ccfeda048503}{
\hyperlink{class_yig_synth_graphic}{YigSynthGraphic} $\ast$ {\bfseries mSynthGraphic}}
\label{class_yig_ellipse_item_a9395bbc225d75ecefc47ccfeda048503}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_yig_ellipse_item_aef1b07e6ae87ab75f19b240ba14dc9ee}{
virtual void {\bfseries mouseMoveEvent} (QGraphicsSceneMouseEvent $\ast$event)}
\label{class_yig_ellipse_item_aef1b07e6ae87ab75f19b240ba14dc9ee}

\item 
void \hyperlink{class_yig_ellipse_item_aef1b07e6ae87ab75f19b240ba14dc9ee}{mouseMoveEvent} (QGraphicsSceneMouseEvent $\ast$event)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_yig_ellipse_item}{YigEllipseItem} triggers its coordinating \hyperlink{class_yig_synth_graphic}{YigSynthGraphic} container to emit a signal for networking 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_yig_ellipse_item_a2ad95af430a2d822840cfc89bb9894ae}{
\index{YigEllipseItem@{YigEllipseItem}!YigEllipseItem@{YigEllipseItem}}
\index{YigEllipseItem@{YigEllipseItem}!YigEllipseItem@{YigEllipseItem}}
\subsubsection[{YigEllipseItem}]{\setlength{\rightskip}{0pt plus 5cm}YigEllipseItem::YigEllipseItem ({\bf YigSynthGraphic} $\ast$ {\em synthGraphic}, \/  qreal {\em x} = {\ttfamily 0}, \/  qreal {\em y} = {\ttfamily 0}, \/  qreal {\em width} = {\ttfamily 0}, \/  qreal {\em height} = {\ttfamily 0}, \/  QGraphicsItem $\ast$ {\em parent} = {\ttfamily 0})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_yig_ellipse_item_a2ad95af430a2d822840cfc89bb9894ae}
\hyperlink{class_yig_ellipse_item}{YigEllipseItem} defines the ellipse that we use to represent audio elements in the gui 
\begin{DoxyParams}{Parameters}
\item[{\em YigSynthGraphic$\ast$}]synthGraphic pointer to the parent \hyperlink{class_yig_synth_graphic}{YigSynthGraphic}. We use this to emit a signal from the parent \item[{\em qreal}]x Beginning x coordinate \item[{\em qreal}]y Beginning y coordinate \item[{\em qreal}]width Width of the ellipse \item[{\em qreal}]height Height of the ellipse \item[{\em QGraphicsItem$\ast$}]parent Parent graphics item \end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{class_yig_ellipse_item_aef1b07e6ae87ab75f19b240ba14dc9ee}{
\index{YigEllipseItem@{YigEllipseItem}!mouseMoveEvent@{mouseMoveEvent}}
\index{mouseMoveEvent@{mouseMoveEvent}!YigEllipseItem@{YigEllipseItem}}
\subsubsection[{mouseMoveEvent}]{\setlength{\rightskip}{0pt plus 5cm}void YigEllipseItem::mouseMoveEvent (QGraphicsSceneMouseEvent $\ast$ {\em event})\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{class_yig_ellipse_item_aef1b07e6ae87ab75f19b240ba14dc9ee}
overridden from base graphic, called when the local user attempts to delete this ellipse from the keyboard mouseMoveEvent reimplemented so we can add networking 
\begin{DoxyParams}{Parameters}
\item[{\em QGraphicsSceneMouseEvent}]$\ast$event the event that moves this item \end{DoxyParams}
\hypertarget{class_yig_ellipse_item_a2127ceff92ef3188c13abc4d6e631545}{
\index{YigEllipseItem@{YigEllipseItem}!moveBy@{moveBy}}
\index{moveBy@{moveBy}!YigEllipseItem@{YigEllipseItem}}
\subsubsection[{moveBy}]{\setlength{\rightskip}{0pt plus 5cm}void YigEllipseItem::moveBy (qreal {\em dx}, \/  qreal {\em dy})}}
\label{class_yig_ellipse_item_a2127ceff92ef3188c13abc4d6e631545}
moveBy moves the position of the \hyperlink{class_yig_ellipse_item}{YigEllipseItem} by the x/y amount 
\begin{DoxyParams}{Parameters}
\item[{\em qreal}]dx Move the Y coordinate of the \hyperlink{class_yig_ellipse_item}{YigEllipseItem} by dx. \item[{\em qreal}]dy Move the Y coordinate of the \hyperlink{class_yig_ellipse_item}{YigEllipseItem} by dy. \end{DoxyParams}
\hypertarget{class_yig_ellipse_item_ac7f8a6313e4216ea443d1c06cb82203c}{
\index{YigEllipseItem@{YigEllipseItem}!setPos@{setPos}}
\index{setPos@{setPos}!YigEllipseItem@{YigEllipseItem}}
\subsubsection[{setPos}]{\setlength{\rightskip}{0pt plus 5cm}void YigEllipseItem::setPos (const QPointF \& {\em pos})}}
\label{class_yig_ellipse_item_ac7f8a6313e4216ea443d1c06cb82203c}
setPos sets the position of the \hyperlink{class_yig_ellipse_item}{YigEllipseItem} with a float Point 
\begin{DoxyParams}{Parameters}
\item[{\em QPointF}]\&pos The new point(x,y) of the ellipse. \end{DoxyParams}
\hypertarget{class_yig_ellipse_item_ade078069d0f569649fd2b73e93c9ded2}{
\index{YigEllipseItem@{YigEllipseItem}!setPos@{setPos}}
\index{setPos@{setPos}!YigEllipseItem@{YigEllipseItem}}
\subsubsection[{setPos}]{\setlength{\rightskip}{0pt plus 5cm}void YigEllipseItem::setPos (qreal {\em x}, \/  qreal {\em y})}}
\label{class_yig_ellipse_item_ade078069d0f569649fd2b73e93c9ded2}
setPos sets the position of the \hyperlink{class_yig_ellipse_item}{YigEllipseItem} with x/y coordinates 
\begin{DoxyParams}{Parameters}
\item[{\em qreal}]x The new X coordinate \item[{\em qreal}]y The new Y coordinate \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
graphics/yigellipseitem.h\item 
graphics/yigsynthgraphic.h\item 
graphics/yigellipseitem.cpp\item 
graphics/yigsynthgraphic.cpp\end{DoxyCompactItemize}
